From: Siebrand Mazeland Date: Mon, 15 Jun 2009 11:27:48 +0000 (+0000) Subject: (bug 19202) Follow-up to r51819: fix incorrect conversion. Put wfMsgForContent back. X-Git-Tag: 1.31.0-rc.0~41371 X-Git-Url: http://git.cyclocoop.org/%27%20.%20%24prefix%20.%20Wiki::transformTitleToURI%28%24matches%5B1%5D%29%20.%20%27?a=commitdiff_plain;h=97ac595c85af90d4011f123a822bc660926462eb;p=lhc%2Fweb%2Fwiklou.git (bug 19202) Follow-up to r51819: fix incorrect conversion. Put wfMsgForContent back. --- diff --git a/includes/Skin.php b/includes/Skin.php index 866493f03d..b2ccb66f88 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1562,7 +1562,7 @@ END; // Otherwise, we display the link for the user, described in their // language (which may or may not be the same as the default language), // but we make the link target be the one site-wide page. - $title = Title::newFromText( $page ); + $title = Title::newFromText( wfMsgForContent( $page ) ); return $this->linkKnown( $title, wfMsgExt( $desc, array( 'parsemag', 'escapenoentities' ) )